<?php
class Admin_Form_Region extends Zend_Form
{

	public function init()
	{
		// Config
		$this->setName('regionform')->setAction('/detailregion/process')->setMethod('POST');

		//Validators
		$length_validate = new Zend_Validate_StringLength(6, 50);

		/********************************************************************************
		 NAME
		*********************************************************************************/
		require_once 'Titleform.php';
		
		/********************************************************************************
		 COUNTRY LIST
		*********************************************************************************/
		require_once 'Countryform.php';
		
		$this->addElements(array(
				$title_vi,
				$title_en,
				$title_ja,
				$title_zh,
				$title_fr,
				$countryId,
				
		));

		//$this->addDisplayGroup(array($title_vi, $title_en), 'display');

		$this->setDecorators(array('FormElements', array('HtmlTag', array('tag' => 'section')), 'Form'));
		return $this;
	}
}

?>